package com.ruoyi.mall.common.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 品牌商对象 dts_brand
 *
 * @author ruoyi
 * @date 2025-02-17
 */
public class DtsBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 品牌商ID */
    @Excel(name = "品牌商ID")
    private Long id;

    /** 品牌商名称 */
    @Excel(name = "品牌商名称")
    private String name;

    /** 主营类目 */
    private Long defaultCategoryId;

    /** 管理员 */
    private Long adminId;

    /** 介绍 */
    @Excel(name = "介绍")
    private String desc;

    /** 品牌商图片 */
    @Excel(name = "品牌商图片")
    private String picUrl;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Integer sortOrder;

    /** 底价 */
    @Excel(name = "底价")
    private BigDecimal floorPrice;

    /** 提货时间设置 */
    private String fetchTimeRules;

    /** 创建时间 */
    private Date addTime;

    /** 分享二维码图片 */
    private String shareUrl;

    /** 逻辑删除 */
    private Integer deleted;

    /** $column.columnComment */
    private String commpany;

    /** 自动监控更新商品 */
    private Integer autoUpdateGood;

    /** 店铺url地址 */
    private String shopUrl;

    /** 默认商品页面数 */
    private Integer defaultPages;

    /** 店铺商品溢价 */
    private Integer addPrecent;

    /** 自提地址 */
    private String address;

    /** 经度 */
    private BigDecimal longitude;

    /** 纬度 */
    private BigDecimal latitude;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setDefaultCategoryId(Long defaultCategoryId)
    {
        this.defaultCategoryId = defaultCategoryId;
    }

    public Long getDefaultCategoryId()
    {
        return defaultCategoryId;
    }
    public void setAdminId(Long adminId)
    {
        this.adminId = adminId;
    }

    public Long getAdminId()
    {
        return adminId;
    }
    public void setDesc(String desc)
    {
        this.desc = desc;
    }

    public String getDesc()
    {
        return desc;
    }
    public void setPicUrl(String picUrl)
    {
        this.picUrl = picUrl;
    }

    public String getPicUrl()
    {
        return picUrl;
    }
    public void setSortOrder(Integer sortOrder)
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder()
    {
        return sortOrder;
    }
    public void setFloorPrice(BigDecimal floorPrice)
    {
        this.floorPrice = floorPrice;
    }

    public BigDecimal getFloorPrice()
    {
        return floorPrice;
    }
    public void setFetchTimeRules(String fetchTimeRules)
    {
        this.fetchTimeRules = fetchTimeRules;
    }

    public String getFetchTimeRules()
    {
        return fetchTimeRules;
    }
    public void setAddTime(Date addTime)
    {
        this.addTime = addTime;
    }

    public Date getAddTime()
    {
        return addTime;
    }
    public void setShareUrl(String shareUrl)
    {
        this.shareUrl = shareUrl;
    }

    public String getShareUrl()
    {
        return shareUrl;
    }
    public void setDeleted(Integer deleted)
    {
        this.deleted = deleted;
    }

    public Integer getDeleted()
    {
        return deleted;
    }
    public void setCommpany(String commpany)
    {
        this.commpany = commpany;
    }

    public String getCommpany()
    {
        return commpany;
    }
    public void setAutoUpdateGood(Integer autoUpdateGood)
    {
        this.autoUpdateGood = autoUpdateGood;
    }

    public Integer getAutoUpdateGood()
    {
        return autoUpdateGood;
    }
    public void setShopUrl(String shopUrl)
    {
        this.shopUrl = shopUrl;
    }

    public String getShopUrl()
    {
        return shopUrl;
    }
    public void setDefaultPages(Integer defaultPages)
    {
        this.defaultPages = defaultPages;
    }

    public Integer getDefaultPages()
    {
        return defaultPages;
    }
    public void setAddPrecent(Integer addPrecent)
    {
        this.addPrecent = addPrecent;
    }

    public Integer getAddPrecent()
    {
        return addPrecent;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setLongitude(BigDecimal longitude)
    {
        this.longitude = longitude;
    }

    public BigDecimal getLongitude()
    {
        return longitude;
    }
    public void setLatitude(BigDecimal latitude)
    {
        this.latitude = latitude;
    }

    public BigDecimal getLatitude()
    {
        return latitude;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("defaultCategoryId", getDefaultCategoryId())
            .append("adminId", getAdminId())
            .append("desc", getDesc())
            .append("picUrl", getPicUrl())
            .append("sortOrder", getSortOrder())
            .append("floorPrice", getFloorPrice())
            .append("fetchTimeRules", getFetchTimeRules())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .append("shareUrl", getShareUrl())
            .append("deleted", getDeleted())
            .append("commpany", getCommpany())
            .append("autoUpdateGood", getAutoUpdateGood())
            .append("shopUrl", getShopUrl())
            .append("defaultPages", getDefaultPages())
            .append("addPrecent", getAddPrecent())
            .append("address", getAddress())
            .append("longitude", getLongitude())
            .append("latitude", getLatitude())
            .toString();
    }
}
